package com.kc.business.mapper;

import com.kc.business.domain.BizGoodsSkuCategory;
import com.kc.business.domain.goodsSku.BizGoodsSkuSpecs;
import com.kc.common.core.dao.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商品sku规则mapper
 */
public interface BizGoodsSkuCategoryMapper extends BaseMapper<BizGoodsSkuCategory> {
    /**
     * 获取列表
     * @return
     */
     List<BizGoodsSkuCategory> getList(BizGoodsSkuCategory bizGoodsSkuCategory);

    /**
     * 根据商品获取规格
     * @param goodsId
     * @return
     */
     List<BizGoodsSkuSpecs> getListByGoodsId(@Param("goodsId") Integer goodsId);
}
